﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Main.Master" AutoEventWireup="true" CodeBehind="AddJobTitles.aspx.cs" Inherits="HRM.Web.master.AddJobTitles" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="row-fluid">
        <div class="span12">
            <div class="alert alert-info" runat="server" id="divAlert" visible="false">
                <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                <button type="button" class="close" data-dismiss="alert">
                    &times;
                </button>
            </div>
            <div class="block">
                <div class="head">
                    <h2>
                        <% 
                            if (Request.QueryString["JobTitleID"] != null && Request.QueryString["JobTitleID"] != "0")
                            {
                                Response.Write("Edit Job Title");
                            }
                            else
                            {
                                Response.Write("Create Job Title");
                            }
                        %>
                    </h2>
                    <div class="side fr">
                        <%-- <button class="btn" onclick="clear_form('#validate');" type="button">
                            Clear form</button>--%>
                    </div>
                </div>
                <div class="content np">
                    <div class="controls-row">
                        <div class="span2">
                            Job Title:</div>
                        <div class="span10">
                              <asp:TextBox ID="txtJobTitle" runat="server"></asp:TextBox>
                             <span class="help-inline">Required</span>
                            <asp:HiddenField ID="hdnID" runat="server" Value="0" />
                        </div>
                    </div>
                    <div class="controls-row">
                        <div class="span2">
                            Job Description:</div>
                        <div class="span10">
                            <asp:TextBox ID="txtJobDescription" runat="server"></asp:TextBox>
                            
                        </div>
                    </div>
                    <div class="controls-row">
                        <div class="span2">
                            Job Specification:</div>
                        <div class="span10">
                        <asp:FileUpload ID="fuJobSpecification" runat="server" />
                           
                           
                        </div>
                    </div>
                    <div class="controls-row">
                        <div class="span2">
                            Note:</div>
                        <div class="span10">
                            <asp:TextBox ID="txtNote" runat="server"></asp:TextBox>
                          
                        </div>
                    </div>
                   
                </div>
                <div class="footer">
                    <div class="side fr">
                        <div class="btn-group">
                            <asp:Button ID="btnCancel" runat="server" CssClass="btn validate-skip" Text="Cancel"
                                OnClick="btnCancel_Click" />
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnSave" runat="server" CssClass="btn btn-primary" Text="Save" OnClick="btnSave_Click" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
